package com.xhwl.logistics.service.logistics;

import com.xhwl.common.pojo.ResultJson;
import com.xhwl.logistics.entity.logistics.VisitorRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhwl.logistics.logistics.request.ApprovalParam;
import com.xhwl.logistics.logistics.request.VisitorRecordRequestParam;
import com.xhwl.logistics.query.VisitorRecordQuery;
import com.xhwl.logistics.util.PageResult;
import com.xhwl.logistics.vo.logistics.VisitorRecordVO;

import java.util.List;

/**
 * <p>
 * 物流车预约 服务类
 * </p>
 *
 * @author lin.yang
 * @since 2023-12-06
 */
public interface IVisitorRecordService extends IService<VisitorRecord> {

    ResultJson<List<VisitorRecordVO>> queryVisitorRecord(VisitorRecordQuery query);

    ResultJson saveOrUpdateVisitorRecord(VisitorRecordRequestParam params);

    ResultJson<VisitorRecordVO> detailVisitorRecord(VisitorRecordQuery query);

    ResultJson approvalVisitorRecordRequest(ApprovalParam parmas);

    ResultJson<PageResult<VisitorRecordVO>>pageVisitorRecordRequest(VisitorRecordQuery query);
}
